<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 400px;
            height: 500px;
            margin: 50px auto;
            position: relative;
        }
        img{
            width: 100%;
            position: absolute;
            transition: all 1s;
            transform-origin:center bottom ;
            
        }
        div:hover :nth-child(1){
            transform: rotate(-60deg);
        }
        div:hover :nth-child(2) {
  transform: rotate(-50deg);
}

div:hover :nth-child(3) {
  transform: rotate(-40deg);
}

div:hover :nth-child(4) {
  transform: rotate(-30deg);
}

div:hover :nth-child(5) {
  transform: rotate(-20deg);
}

div:hover :nth-child(6) {
  transform: rotate(-10deg);
}

div:hover :nth-child(7) {
  transform: rotate(0deg);
}

div:hover :nth-child(8) {
  transform: rotate(10deg);
}

div:hover :nth-child(9) {
  transform: rotate(20deg);
}

div:hover :nth-child(10) {
  transform: rotate(30deg);
}

div:hover :nth-child(11) {
  transform: rotate(40deg);
}

div:hover :nth-child(12) {
  transform: rotate(50deg);
}

div:hover :nth-child(13) {
  transform: rotate(60deg);
}
    </style>
</head>
<body>
    <div>
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210305.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210408.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210305.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210408.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210305.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210408.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210305.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210408.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210305.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210408.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210305.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210408.png" alt="">
        <img src="./老胡来也_23级H5CSS3练习_files/20231017210305.png" alt="">
    </div>
</body>
</html>